package pluginstore

//
//import (
//	"context"
//	"go-caipu/pkg/plugins"
//	"go-caipu/pkg/plugins/manager/loader"
//	"go-caipu/pkg/plugins/manager/registry"
//	"go-caipu/pkg/plugins/manager/sources"
//	"sort"
//)
//
//// Store is the publicly accessible storage for plugins.
//type Store interface {
//	// Plugin finds a plugin by its ID.
//	// Note: version is not required since Grafana only supports single versions of a plugin.
//	Plugin(ctx context.Context, pluginID string) (plugins.PluginDTO, bool)
//	// Plugins returns plugins by their requested type.
//	Plugins(ctx context.Context, pluginTypes ...plugins.Type) []plugins.PluginDTO
//}
//
//type Service struct {
//	pluginRegistry registry.Service
//	pluginLoader loader.Service
//}
//func ProvideService(pluginRegistry registry.Service, pluginLoader loader.Service) *Service {
//	return &Service{
//		pluginRegistry: pluginRegistry,
//		pluginLoader: pluginLoader,
//	}
//}
//func (s *Service) Plugin(ctx context.Context, pluginID string) (plugins.PluginDTO, bool) {
//	return plugins.PluginDTO{}, false
//}
//
//
